<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script>
    function a() {
        //类/伪数组 转 数组
        console.log(arguments)
        console.log(Array.from(arguments))
        console.log([...arguments])
        console.log(Array.prototype.slice.call(arguments))
        console.log([].slice.call(arguments))
    }
    a(1, 2, 2, 3, 4, 5, 6, 6)
</script>

</html>